package com.tyao.note.model;

import java.util.Date;

/**
 *   
 *
 *
 * @mbg.generated do_not_delete_during_merge Thu Aug 02 11:07:01 CST 2018
 */
public class BAccessory {
    /**
     * 附件id
     */
    private Long id;

    /**
     * 附件名称
     */
    private String accName;

    /**
     * 存储路径
     */
    private String accPath;

    /**
     * 文件后缀名
     */
    private String accExt;

    /**
     * 文件大小
     */
    private Float accSize;

    /**
     * 文件夹id
     */
    private Long folderId;

    /**
     * 所属用户
     */
    private Integer userId;

    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
     * 修改时间
     */
    private Date modifiedTime;
    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_accessory.id
     *
     * @return the value of b_accessory.id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_accessory.id
     *
     * @param id the value for b_accessory.id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_accessory.acc_name
     *
     * @return the value of b_accessory.acc_name
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public String getAccName() {
        return accName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_accessory.acc_name
     *
     * @param accName the value for b_accessory.acc_name
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setAccName(String accName) {
        this.accName = accName == null ? null : accName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_accessory.acc_path
     *
     * @return the value of b_accessory.acc_path
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public String getAccPath() {
        return accPath;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_accessory.acc_path
     *
     * @param accPath the value for b_accessory.acc_path
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setAccPath(String accPath) {
        this.accPath = accPath == null ? null : accPath.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_accessory.acc_ext
     *
     * @return the value of b_accessory.acc_ext
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public String getAccExt() {
        return accExt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_accessory.acc_ext
     *
     * @param accExt the value for b_accessory.acc_ext
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setAccExt(String accExt) {
        this.accExt = accExt == null ? null : accExt.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_accessory.acc_size
     *
     * @return the value of b_accessory.acc_size
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Float getAccSize() {
        return accSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_accessory.acc_size
     *
     * @param accSize the value for b_accessory.acc_size
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setAccSize(Float accSize) {
        this.accSize = accSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_accessory.folder_id
     *
     * @return the value of b_accessory.folder_id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Long getFolderId() {
        return folderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_accessory.folder_id
     *
     * @param folderId the value for b_accessory.folder_id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setFolderId(Long folderId) {
        this.folderId = folderId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_accessory.user_id
     *
     * @return the value of b_accessory.user_id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_accessory.user_id
     *
     * @param userId the value for b_accessory.user_id
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column b_accessory.create_time
     *
     * @return the value of b_accessory.create_time
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column b_accessory.create_time
     *
     * @param createTime the value for b_accessory.create_time
     *
     * @mbg.generated Thu Aug 02 11:07:01 CST 2018
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}
}